Public Function LoadFromFile(ByVal File As String, ByVal ColorKey As Long, Optional ByVal nMipLevels As Long = 1, Optional ByVal EnableEdit As Boolean = False) As Boolean
On Local Error GoTo Failed
Cleanup
Set pTexture = TextureMake(File, ColorKey, nMipLevels, EnableEdit)